var express = require('express');
var router = express.Router();

var dataCtrl = require('../controllers/album.comtroll');

router.post('/uploadFile',dataCtrl.uploadFile);
router.put('/data/:id',dataCtrl.update);
router.post('/list',dataCtrl.list);
router.delete('/data/:id',dataCtrl.remove);

module.exports=router


